<template>
	<view>
		<web-view :src="openUrl"></web-view>
	</view>
</template>

<script>
	export default {
		data:function() {
			return {
				openUrl:null
			}
		},
		onLoad:function(opt){
			if(opt.callBack){
				this.openUrl = opt.callBack;
			}else{
				this.openUrl = opt.openUrl;
			}
			
			if(opt.title){
				uni.setNavigationBarTitle({
					title:opt.title
				});
			}
		}
	}
</script>

<style>
</style>
